Params

interface Params

The parameters of the InterceptUrlRequestCallback.

Functions

Link copied to clipboard
abstract fun httpHeaders(): List<HttpHeader>
Returns an immutable list of the HTTP headers of the request or an empty list if the request does not have any HTTP headers.
Link copied to clipboard
Creates and returns a new UrlRequestJob instance with the given options.
Link copied to clipboard
abstract fun uploadData(): Optional<UploadData>
Returns an Optional that contains the upload data in the request or an empty Optional if the request does not have any upload data.
Link copied to clipboard
abstract fun urlRequest(): UrlRequest
Returns the URL request.